import { AttributeViewInfo, OAVComponent } from '@feng3d/objectview';
import GUI from 'lil-gui';
import { OAVBase } from './OAVBase';

/**
 * 默认对象属性界面
 */
@OAVComponent('OAVDefault')
export class OAVDefault extends OAVBase
{
    constructor(attributeViewInfo: AttributeViewInfo)
    {
        super(attributeViewInfo);
    }

    initview(gui: GUI)
    {
        gui.add(this._space, this._attributeName);
    }

    dispose()
    {
    }

    /**
     * 更新界面
     */
    updateView(): void
    {
    }
}
